package com.zeba;

import android.app.Activity;
import android.os.Bundle;
import android.widget.GridView;


public class HomeDashboardActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	
    	 super.onCreate(savedInstanceState);
    	    setContentView(R.layout.home);

    	    GridView gridview = (GridView) findViewById(R.id.gridview);
    	    gridview.setAdapter(new ImageAdapter(this));
    	    DashBoardListener dashBoardListener = new DashBoardListener();
    	    dashBoardListener.setCallerActivity(this);
    	    gridview.setOnItemClickListener(dashBoardListener);
    }
    
}